<?php $this->load->view('includes/assets/header'); ?>
<?php $this->load->view('includes/assets/head'); ?>
<?php if($main_content): ?>
<?php $this->load->view($main_content); ?>
<?php endif; ?>
<?php $this->load->view('includes/assets/foo'); ?>
<?php $this->load->view('includes/assets/footer'); ?>